#-------------------------------------------------
#
# Project created by QtCreator 2017-07-12T14:51:35
#
#-------------------------------------------------

QT       += core gui
QT       += webenginewidgets

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11 console
msvc{
    QMAKE_CXXFLAGS += /source-charset:utf-8 /execution-charset:utf-8
}

TARGET = DispEnv
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

DEFINES += GLOG_NO_ABBREVIATED_SEVERITIES
DEFINES += WIN32_LEAN_AND_MEAN
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0


SOURCES +=  main.cpp\
            mainwindow.cpp \
            src/tcpServer/chargeserver.cpp \
            src/tcpServer/envdispserver.cpp \
            src/tcpServer/localTcpServer.cpp \
            src/utils/logger.cpp \
            src/utils/utils.cpp \
            src\swebengineview.cpp\
            src\realplay.cpp

HEADERS  += mainwindow.h \
            src/tcpServer/chargeserver.h \
            src/tcpServer/envdispserver.h \
            src/tcpServer/localTcpServer.h \
            src/utils/logger.h \
            src/utils/utils.h \
            src\swebengineview.h\
            src\realplay.h

FORMS    += mainwindow.ui

INCLUDEPATH += "$${PWD}\src"
INCLUDEPATH += "$${PWD}\depends\hk_sdk\include"
INCLUDEPATH += "$${PWD}\depends\glog\include"
INCLUDEPATH += "$${PWD}\depends\hv\include"
INCLUDEPATH += "$${PWD}\depends\rapidjson\include"
INCLUDEPATH += "$${PWD}\src\utils"
INCLUDEPATH += "$${PWD}\src\tcpServer"

LIBS += -L"$${PWD}\depends\hk_sdk\lib"       -lHCCore
LIBS += -L"$${PWD}\depends\hk_sdk\lib"       -lHCNetSDK
LIBS += -L"$${PWD}\depends\hk_sdk\lib\HCNetSDKCom"       -lHCAlarm
LIBS += -L"$${PWD}\depends\hk_sdk\lib"       -lHCGeneralCfgMgr
LIBS += -L"$${PWD}\depends\hk_sdk\lib"       -lHCPreview
LIBS += -L"$${PWD}\depends\glog\lib"         -lglog
LIBS += -L"$${PWD}\depends\hv\lib"           -lhv

LIBS +="C:/Program Files (x86)/Windows Kits/10/Lib/10.0.19041.0/um/x64/Gdi32.Lib"
LIBS +="C:/Program Files (x86)/Windows Kits/10/Lib/10.0.19041.0/um/x64/User32.Lib"

RESOURCES += \
    res.qrc
